package lala.base.smsend;

import lala.base.testcase.MessageDemo;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SMSActivity extends Activity {
	private Button fButton;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		fButton = (Button) findViewById(R.id.MainButton);
		fButton.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent firstintent = new Intent();
				firstintent.setClass(SMSActivity.this, MessageDemo.class);
				startActivity(firstintent);
			}
		});

	}
}